AmeliaBooking\Application\Services\Reservation\AbstractReservationService D

Total Complexity 178
Dependencies 40
Dependents 0
Total lines 1,047
Lines of code 614
Logical lines of code 279
Comment lines 231
Methods 23
Properties 1

Methods 23

Method Rating Maintainability Complexity Lines of code
processBooking()
D
31 34 95
finalize()
C
31 23 117
addPayment()
C
37 25 67
processRequest()
B
39 21 56
runPostBookingActions()
B
38 19 68
getSuccessBookingResponse()
A
40 5 66
getWcStatus()
S
59 7 12
deleteReservation()
S
58 6 17
getResultData()
S
55 5 21
deleteSingleReservation()
S
55 5 20
applyDeposit()
S
65 6 9
getTax()
S
67 4 7
getCouponDiscountAmount()
S
71 3 5
getTaxAmount()
S
65 3 9
inspectMinimumCancellationTime()
S
62 2 12
deleteUserIfNew()
S
71 2 6
setToken()
S
68 2 7
getProvidersPaymentAmount()
S
82 1 3
__construct()
S
81 1 3
getNew()
S
68 1 7
getPaymentAmount()
S
100 1 0
manageException()
S
69 1 7
manageTaxes()
S
100 1 0